const fs = require( 'fs' );

let content = fs.readFile( 'package.json' , 'utf-8' , (error,data)=>{
    console.log( error , data );
});

console.log( content );